﻿@model GameSchool.ViewModels.Store.ListViewModel
@{
    ViewBag.Title = "Vefverslun nemenda";
}
<h2>
    Vefverslun nemenda</h2>
@foreach (var item in Model.items)
{
    <div class="eventLine">
        <div class="row">
            <div class="span2">
                <img src="@item.LogoUrl" />
            </div>
            <div class="span6">
                <div class="row">
                    <div class="span2">
                        <h2>@item.Name</h2>
                    </div>
                </div>
                <div class="row">
                    <div class="span6">
                        @Html.DisplayFor(modelItem => item.Description)
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <p>
            <div class="span2">
                ..
            </div>
            </p>
            <div class="span6">
              <strong>  Verð: @Html.DisplayFor(modelItem => item.Price) stig </strong>
            </div>
            <div class="span8" style="text-align: right">
                @Html.ActionLink("Kaupa", "Edit", new { eventId = item.ItemPurchases }, new { @class = "btn btn-success" })
            </div>
        </div>
        <div class="row">
            <div class="span8">
                <hr />
            </div>
        </div>
    </div>


}